package com.yenroc.invoice.pojo.xml;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "RedEInvoice")
@XmlAccessorType(XmlAccessType.FIELD)
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class RedEInvoiceXmlDTO {

    /**
     * 被红冲蓝字数电发票号码（备注）
     */
    @XmlElement(name = "OriginalInvoiceCode")
    private String originalInvoiceCode;

    /**
     * 红字发票信息确认单编号
     */
    @XmlElement(name = "CreditNoteNumber")
    private String creditNoteNumber;
}